﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xtensive.Storage;
using Xtensive.Integrity.Aspects.Constraints;

namespace SMS.Core.Model.Data
{
    class Payment : Entity
    {
        [Key, Field(Length = 30)]
        public string or_no { get; set; }

        [Field]
        public Staff staff { get; set; }

        [Field]
        public DateTime date { get; set; }

        [Field]
        public EntitySet<Order_payment> order_payments { get; set; }
    }
}
